package com.ler.yrmall.ware.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ler.yrmall.ware.entity.WareEntity;
import com.ler.yrmall.basic.Form;

import java.util.List;

/**
 * 仓库信息
 * @author leron
 */
public interface WareService extends IService<WareEntity> {

    /**
     * 分页
     * @param request
     * @return
     */
    IPage<WareEntity> find(Form request);

    /**
     * 删除仓库
     * @param ids
     */
    void deleteWare(List<Long> ids);
}

